package com.lin.lostandfound.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("unit")
public class Unit {
	@TableId(type = IdType.AUTO)
	private Long id;
	private String classNo;
	private String major;
	private String academyCode;

	public Unit() {
	}

	public Unit(String classNo, String major, String academyCode) {
		this.classNo = classNo;
		this.major = major;
		this.academyCode = academyCode;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getClassNo() {
		return this.classNo;
	}

	public void setClassNo(String classNo) {
		this.classNo = classNo;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getAcademyCode() {
		return this.academyCode;
	}

	public void setAcademyCode(String academyCode) {
		this.academyCode = academyCode;
	}

}
